Skip to content

fix(ui): apply and clear the audit event date filter - #6000

Merged
SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/audit-event-date-filter
Nov 28, 2026
Merged

SteKoe merged 1 commit into
codecentric:masterfrom
Aminark:fix/audit-event-date-filter

Conversation

@Aminark

@Aminark Aminark commented Nov 27, 2026

Copy link
Copy Markdown
Contributor

The audit date field listens for a DOM event, but sba-input emits its value directly. Editing the date therefore throws before the filter can update, and clearing the field cannot produce an unbounded request.

Bind the local date and time through the input's model. Convert it to an instant when fetching events and omit the optional after parameter when the field is empty.

The regression test edits and clears the rendered control and checks the query parameters received by the endpoint. Spring Boot audit events endpoint

@Aminark
Aminark requested a review from a team as a code owner November 27, 2026 16:32
@SteKoe
SteKoe merged commit 2d93c4d into codecentric:master Nov 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants